$(document).ready(function(){
	getCurDate();
})
function getCurDate(){
	var myDate = new Date();
	var year = myDate.getFullYear();    //获取完整的年份(4位,1970-????)
	var month = myDate.getMonth();       //获取当前月份(0-11,0代表1月)
	var date = myDate.getDate();        //获取当前日(1-31)
	var day = myDate.getDay();         //获取当前星期X(0-6,0代表星期天)
	var dayStr="";
	switch(day){
		case 0:
			dayStr="星期天"
		break;
		case 1:
			dayStr="星期一"
		break;
		case 2:
			dayStr="星期二"
		break;
		case 3:
			dayStr="星期三"
		break;
		case 4:
			dayStr="星期五"
		break;
		case 5:
			dayStr="星期六"
		break;
	}
	var showStr = year+"年"+(month+1)+"月"+date+"日"+"  "+dayStr;

	$('.date span').html(showStr);
}